home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / haeberli / jpeg / README.sgi < prev    next >
Text File  |  1994-08-01  |  1KB  |  38 lines

  1.  
  2.                ~4Dgifts/toolbox/src/haeberli/jpeg README.sgi
  3.  
  4.  
  5.     This directory contains the fourth public release of the Independent 
  6.     JPEG Group's free JPEG file format image compression/decompression 
  7.     software including images of libjpeg.a, cjpeg, and djpeg.  JPEG is a 
  8.     standardized compression method for full-color and gray-scale images.  
  9.     JPEG is intended for compressing "real-world" scenes;  cartoons and 
  10.     other non-realistic images are not its strong suit.  JPEG is lossy, 
  11.     meaning that the output image is not necessarily identical to the 
  12.     input image.  Hence you must not use JPEG if you have to have 
  13.     identical output bits.  However, on typical images of real-world 
  14.     scenes, very good compression levels can be obtained with no visible 
  15.     change, and amazingly high compression levels are possible if you 
  16.     can tolerate a low-quality image.
  17.  
  18.  
  19.     Along with the fourth public release of the Independent JPEG Group's 
  20.     free JPEG software, support has been added to manipulate SGI image files 
  21.     to/from jpeg format.  To compress an SGI image file, simply name the SGI
  22.     image file on the cjpeg command line:
  23.  
  24.        cjpeg in.rgb > in.jpg
  25.  
  26.     in.jpg will contain the compressed image
  27.  
  28.     To decompress a .jpg image into an SGI image file specify -sgi on the 
  29.     djpeg command line:
  30.  
  31.        djpeg -sgi < in.jpg > out.rgb 
  32.  
  33.     You can view/compare the difference between the two images using movie:
  34.  
  35.     movie in.rgb out.rgb -z 2
  36.  
  37.  
  38.